import { _decorator, Component, Node } from 'cc';
import { MonoUIPanel } from '../../../common/src/mono/MonoUIPanel';
import { AudioManager } from '../../../common/src/manager/AudioManager';
import { UIManager } from '../../../framework/ui/uimanager/UIManager';
const { ccclass, property } = _decorator;

@ccclass('RuleDialog')
export class RuleDialog extends MonoUIPanel {

    private async onClosePanel() {
        AudioManager.playButton();
        await this.onExitAnimation();

        UIManager.close("rule:res/prefab/RuleDialog");
    }
}


